package  ${package}.dto;
import lombok.Data;
import com.bolt.support.query.conditions.domain.MatchType;
import com.bolt.support.spring.jpa.annotation.Filter;
/**
* Auto Generate Javadoc
* @author
* 日期:${.now?string("yyyy-MM-dd HH:mm:ss")}
* ${table.remarks?default("")} Repository
* */
@Data
public class ${className}QueryCriteria{
<#if queryColumns??>
    <#list queryColumns as column>
        <#if column.queryType = '='>
        /** 精确 */
        @Filter
        private ${column.javaType} ${column.javaProperty};
        </#if>
        <#if column.queryType = 'Like'>
        /** 模糊 */
        @Filter(type = MatchType.BW)
        private ${column.javaType} ${column.javaProperty};
        </#if>
        <#if column.queryType = '!='>
        /** 不等于 */
        @Filter(type = MatchType.NE)
        private ${column.javaType} ${column.javaProperty};
        </#if>
        <#if column.queryType = 'NotNull'>
        /** 不为空 */
        @Filter(type = MatchType.NN)
        private ${column.javaType} ${column.javaProperty};
        </#if>
        <#if column.queryType = '>='>
        /** 大于等于 */
        @Filter(type = MatchType.GE)
        private ${column.javaType} ${column.javaProperty};
        </#if>
        <#if column.queryType = '<='>
        /** 小于等于 */
        @Filter(type = MatchType.LE)
        private ${column.javaType} ${column.javaProperty};
        </#if>
    </#list>
   </#if>
    <#if betweens??>
        <#list betweens as column>
        /** BETWEEN */
        @Filter(type = MatchType.EW)
        private List<${column.javaType}> ${column.javaProperty};
        </#list>
    </#if>
}